package org.adream.account.entity;

import java.io.Serializable;
import java.util.Date;

public class RoleResLinkEntity implements Serializable{
	
	/**
	 * 
	 */
	private static final long serialVersionUID = 8632608875010315026L;

	private RoleEntity role;
	
	private ResourceEntity resource;
	
	private String rleId;
	
	private String resId;
	
	private Date mts;
	
	private int dr;

	public RoleResLinkEntity(RoleEntity role, ResourceEntity resource) {
		super();
		this.role = role;
		this.resource = resource;
	}

	public RoleResLinkEntity() {
		super();
	}

	public RoleEntity getRole() {
		return role;
	}

	public void setRole(RoleEntity role) {
		this.role = role;
	}

	public ResourceEntity getResource() {
		return resource;
	}

	public void setResource(ResourceEntity resource) {
		this.resource = resource;
	}

	public String getRleId() {
		return rleId;
	}

	public void setRleId(String rleId) {
		this.rleId = rleId;
	}

	public String getResId() {
		return resId;
	}

	public void setResId(String resId) {
		this.resId = resId;
	}

	public Date getMts() {
		return mts;
	}

	public void setMts(Date mts) {
		this.mts = mts;
	}

	public int getDr() {
		return dr;
	}

	public void setDr(int dr) {
		this.dr = dr;
	}
}